<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="../css/reset.min.css">
</head>
<style>
    html,
    body{
        height: 100%;
        overflow: hidden;
    }
    #iframeBox {
        box-sizing: border-box;
        width: 100%;
        height: 90%;
        border: none;
    }
    .box{
        height: 10%;
        line-height: 2;
        font-size: 15px;
    }

</style>
<body>
    <!-- iframe的作用：在父页面中基于ifame嵌套子页面进来 -->
    <div class="box">
        <a href="http://wwww.jd.com" target="ifameBox">京东</a>
        <a href="http://wwww.taobao.com" target="ifameBox">淘宝</a>
        <a href="http://wwww.baidu.com" target="ifameBox">百度</a>
    </div>
    <iframe src="http://wwww.jd.com"  name="ifameBox" id="iframeBox"></iframe>

</body>
</html>